Communication apparatus, control apparatus, communication system, communication control method, communication terminal and program

ABSTRACT

A communication apparatus comprises: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present invention is based upon and claims the benefit of the priority of Japanese patent application No. 2011-206461, filed on Sep. 21, 2011, the disclosure of which is incorporated herein in its entirety by reference thereto.

TECHNICAL FIELD

The present invention relates to a communication apparatus, a control apparatus, a communication system, a communication control method, a communication terminal, and a program, and in particular to a communication apparatus, a control apparatus, a communication system, a communication control method, a communication terminal, and a program that perform processing of a received packet according to control by the control apparatus.

BACKGROUND

Recently, a technique referred to as OpenFlow has been proposed (see Patent Literature 1 and Non Patent Literatures 1 and 2). OpenFlow recognizes communications as end-to-end flows and performs path control, failure recovery, load balancing, and optimization on a per-flow basis. An OpenFlow switch specified in Non Patent Literature 2 has a secure channel for communication with an OpenFlow controller and operates according to a flow table suitably added or rewritten by the OpenFlow controller. In a flow table, a set of the following three is defined for each flow: match fields that define conditions for matching a packet header; statistical information (counters); and instructions that define processing contents (see FIG. 16).

For example, if the OpenFlow switch receives a packet (data packet in FIG. 17), the OpenFlow switch searches the flow table for an entry having a match field that matches header information of the incoming packet. If the OpenFlow switch finds an entry matching the incoming packet as a result of the search, the OpenFlow switch updates the statistical information (counters) and processes the incoming packet based on a processing content (transmission, flooding, drop, etc. of a packet from a specified port) written in the instruction field of the entry. If the OpenFlow switch does not find an entry matching the incoming packet as a result of the search, the OpenFlow switch requests the OpenFlow controller to set an entry via the secure channel. Namely, the OpenFlow switch requests the OpenFlow controller to determine the processing content of the incoming packet (“Packet-In” in FIG. 17). The OpenFlow switch receives a flow entry corresponding to the request and updates the flow table (“FlowMod” in FIG. 17). Thus, by using an entry stored in the flow table as a processing rule, the OpenFlow switch executes packet forwarding.

CITATION LIST Patent Literature [PTL 1]

-   International Patent Publication No. WO2008/095010

Non Patent Literature [NPL 1]

-   Nick McKeown, and seven others, “OpenFlow: Enabling Innovation in     Campus Networks”, [online], [Searched on Jul. 26, 2011], Internet     <URL: http://www.openflow.org/documents/openflow-wp-latest.pdf>

[NPL 2]

-   “OpenFlow Switch Specification” Version 1.1.0 Implemented (Wire     Protocol 0x02) [online], [Searched on Jul. 26, 2011], Internet <URL:     http://www.openflow.org/documents/openflow-spec-v1.1.0.pdf>

SUMMARY Technical Problem

The entire disclosures of the above PTL and NPLs are incorporated herein by reference thereto. The following analyses are given by the present invention. The OpenFlow switch in NPLs 1 and 2 has a function of deleting a flow entry if a certain period of time elapses after the flow entry is set or if no relevant packets are supplied for a certain period of time. This deletion is executed based on a hard timeout value and an idle timeout value set for each flow (see “timeout” in FIGS. 17 and 5.7 FLOW Removal in NPL 2).

While NPLs 1 and 2 disclose deletion of a flow entry based on a timer, if a flow entry is deleted only based on a timer, flexibility of flow control is insufficient, counted as a problem.

Thus there is a need to realize more flexible flow control.

Solution to Problem

According to a first aspect of the present invention there is provided a communication apparatus comprising: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.

According to a second aspect of the present invention there is provided a control apparatus comprising: a management unit that generates a processing rule for a packet; and a communication unit that transmits the generated processing rule to a communication apparatus, wherein the communication apparatus comprises: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.

According to a third aspect of the present invention there is provided a communication system comprising: a control apparatus that generates a processing rule for a packet; and a communication apparatus, wherein the communication apparatus comprises: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.

According to a fourth aspect of the present invention there is provided a communication control method comprising: processing, based on a processing rule set by a control apparatus, a packet that matches the processing rule; measuring a statistical value with respect to packet processing executed based on the processing rule; and instructing a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.

The present method is associated with a specific machine, referred to as a communication apparatus that processes a packet, based on a processing rule set by a prescribed control apparatus.

According to a fifth aspect of the present invention there is provided a communication terminal comprising: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that, when detecting that the statistical value exceeds a prescribed threshold, requests a prescribed server that manages the threshold to update the threshold.

According to a sixth aspect of the present invention there is provided a program that causes a communication apparatus that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule to execute: measuring a statistical value with respect to packet processing executed based on the processing rule; and instructing a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold. It is to be noted that the program may be recorded on a computer readable storage medium. That is, the present invention may be embodied as a computer program product.

Advantageous Effects of Invention

According to the present disclosure, instead of causing a control apparatus to grasp and analyze a communication amount per processing rule of a communication apparatus, the communication apparatus executes a detailed control operation based on the communication amount.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 illustrates a configuration example of a communication system according to an exemplary embodiment.

FIG. 2 illustrates a configuration example of a processing rule stored in a packet forwarding node according to an exemplary embodiment.

FIG. 3 illustrates a configuration example of a communication system according to a first exemplary embodiment.

FIG. 4 is a block diagram illustrating a configuration example of a packet forwarding node according to the first exemplary embodiment.

FIG. 5 illustrates configuration examples of processing rules stored in a packet forwarding node according to the first exemplary embodiment.

FIG. 6 is a block diagram illustrating a configuration example of a control apparatus according to the first exemplary embodiment.

FIG. 7 is a sequence diagram illustrating an operation example of the communication system according to the first exemplary embodiment of the present invention.

FIG. 8 illustrates a configuration example of a communication system according to a second exemplary embodiment.

FIG. 9 is a block diagram illustrating a configuration example of a communication terminal according to the second exemplary embodiment.

FIG. 10 illustrates configuration examples of processing rules stored in the communication terminal according to the second exemplary embodiment.

FIG. 11 is a sequence diagram illustrating an operation example of the communication system according to the second exemplary embodiment.

FIG. 12 is a block diagram illustrating a configuration example of a control apparatus according to a third exemplary embodiment.

FIG. 13 is a sequence diagram illustrating an operation example of a communication system according to a fourth exemplary embodiment.

FIG. 14 is a sequence diagram illustrating an operation example of a communication system according to the fourth exemplary embodiment.

FIG. 15 illustrates configuration examples of processing rules stored in a packet forwarding node according to a fifth exemplary embodiment.

FIG. 16 illustrates a configuration example of a flow entry stored in an OpenFlow switch in NPL 2.

FIG. 17 is a sequence diagram illustrating an operation example from flow entry setting to flow entry deletion by timeout in NPL 2.

FIG. 18 illustrates a general configuration example of a communication apparatus according to an exemplary embodiment.

FIG. 19 illustrates a general configuration example of a control apparatus according to an exemplary embodiment.

DESCRIPTION OF EMBODIMENTS

First, an outline of one exemplary embodiment will be described with reference to the drawings. As illustrated in FIG. 1, one exemplary embodiment can be realized by a configuration including a communication terminal 30, packet forwarding nodes 10 communicating with a server 40, and a control apparatus 20 controlling these packet forwarding nodes 10. In the following outline, the reference characters added to various elements are merely used as examples to facilitate understanding of the present disclosure. Namely, these reference characters are not intended to limit the present disclosure to the modes illustrated in the drawings. In addition, the above communication apparatus corresponds to a packet forwarding node. FIG. 18 illustrates a general configuration example of a communication apparatus according to an exemplary embodiment. As illustrated in FIG. 18, a communication apparatus of an exemplary embodiment can be realized by a configuration including a packet processing unit 200, a statistical value measurement unit 201 and a management unit 202. The packet processing unit 200 processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule. The statistical value measurement unit 201 measures a statistical value with respect to packet processing executed based on the processing rule. The management unit 202 instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold. FIG. 19 illustrates a general configuration example of a control apparatus according to an exemplary embodiment. As illustrated in FIG. 19, a control apparatus of an exemplary embodiment can be realized by a configuration including a management unit 203 and a communication unit 204. The management unit 203 generates a processing rule for a packet. The communication unit 204 transmits the generated processing rule to the communication apparatus.

FIG. 2 illustrates a configuration example of a processing rule 100 stored in a packet forwarding node 10 in FIG. 1. The configuration in FIG. 2 is only an example, and therefore, the configuration of the processing rule is not limited to that illustrated in FIG. 2. The control apparatus 20 sets the processing rule 100 in a packet forwarding node 10. The difference from a flow entry stored in the OpenFlow switch in NPL 2 illustrated in FIG. 16 is that, instead of a timeout value, an expiration condition 101 is set in the processing rule 100. The control apparatus 20 sets the processing rule 100 in a packet forwarding node 10. The packet forwarding node 10 refers to the match fields in the processing rules 100, to search for a processing rule 100 matching the incoming packet, and processes the packet in accordance with the instructions in the retrieved processing rule 100. The statistical information (counters) in the processing rule 100 is updated based on packet processing. If no processing rule 100 corresponding to the incoming packet exists, the packet forwarding node 10 requests the control apparatus 20 to set a processing rule.

For example, as the expiration (or invalidation) condition in the processing rule, a threshold indicating a statistical value processable based on the processing rule is set. Of course, as in NPL 2, a time-out value for determining whether a certain period of time has elapsed after a processing rule is set or whether no relevant packets have been supplied for a certain period of time may be set.

The packet forwarding node 10 includes: a packet processing unit processing a packet in accordance with a processing rule matching an incoming packet; and a statistical value measurement unit measuring a statistical value based on the processing rule statistical information (counter) up dated based on packet processing. Namely, the statistical value measurement unit measures a statistical value corresponding to packet processing executed by a predetermined processing rule. For example, the statistical value is the number of packets or bytes processed in accordance with a predetermined processing rule. Namely, the statistical value is the amount of communication corresponding to packets processed in accordance with predetermined processing rules. The statistical value measurement unit may measure a statistical value for each processing rule.

Alternatively, the statistical value measurement unit may measure a statistical value that can be obtained based on each of the packet processing amounts by a plurality of processing rules. The statistical value measurement unit may measure a statistical value that can be obtained based on the packet processing amount by a processing rule matching a predetermined condition, among the plurality of processing rules stored in the packet forwarding node 10. By measuring a statistical value that can be obtained based on the packet processing amounts by the plurality of processing rules, the statistical value measurement unit can measure the amount of communication executed by the communication apparatus. For example, the packet processing unit may be realized by using a mechanism similar to that of the OpenFlow switch in NPLs 1 and 2. In addition, the packet forwarding node 10 according to one exemplary embodiment deletes or invalidates a processing rule based on an expiration condition. The packet forwarding node 10 includes a processing rule management unit that voids (deletes or invalidates, for example) a relevant processing rule, for example, if a statistical value indicated in the statistical information (counters) exceeds a threshold set in the expiration condition in the relevant processing rule. The processing rule management unit compares a statistical value obtained based on the packet processing amounts by a plurality of processing rules with the expiration conditions in the processing rules. If a statistical value matches an expiration condition, the processing rule management unit voids (deletes or invalidates, for example) a processing rule corresponding to the expiration condition. Alternatively, if the statistical value matches an expiration condition, the processing rule management unit may rewrite the packet process defined in the processing rule corresponding to the expiration condition to a packet discarding process. Namely, the processing rule management unit determines whether each processing rule is valid or not based on a statistical value.

With this configuration, after communication between the communication terminal 30 and the server 40 is allowed in accordance with a processing rule, if a predetermined data amount is exceeded, the processing rule is deleted. As a result, the packet forwarding node 10 discards a subsequent packet addressed to the server 40 from the communication terminal 30 or forwards the subsequent packet to the control apparatus 20 and requests the control apparatus 20 to set a processing rule. Namely, by deleting a processing rule based on a data amount, the packet forwarding node 10 can block communication of subsequent packets transmitted from the communication terminal 30. Alternatively, the control apparatus 20 can set a processing rule so that subsequent packets from the communication terminal 30 are forwarded through a narrowband communication path. Thus, according to one exemplary embodiment, flexible flow control based on a communication amount can be executed.

The threshold set in the expiration condition field in each processing rule may be a predetermined value. Alternatively, when setting a processing rule, the control apparatus 20 may determine the threshold. In addition, the control apparatus 20 specifies the target packets whose communication amount is measured by using the match fields, the control apparatus 20 may delete or invalidate a processing rule based on the communication amount of the target packets.

While, in the above example, the packet forwarding node 10 deletes or invalidates a processing rule based on the communication amount, the communication terminal 30 may delete or invalidate a processing rule based on the communication amount. The same applies to the following exemplary embodiments described below. Examples of the communication terminal 30 include a mobile phone, a personal computer, a mobile router, and the like. One exemplary embodiment is applicable to a communication apparatus such as the packet forwarding node 10 or the communication terminal 30.

The communication terminal 30 stores the processing rule 100 set by the control apparatus 20 and processes a packet based on the processing rule 100. The communication terminal 30 stores the processing rule 100 including the expiration (or invalidation) condition 101 and deletes or invalidates a processing rule based on the expiration condition 101.

In the above configuration example, the expiration condition is included in the processing rule. However, the expiration condition may be set in the packet forwarding node, separately from the processing rule.

First Exemplary Embodiment

A first exemplary embodiment of the present disclosure will be described with reference to the drawings. FIG. 3 illustrates a configuration example of a communication system according to the first exemplary embodiment. In FIG. 3, the communication system includes a communication terminal 30, packet forwarding nodes 10-1 to 10-3 communicating with a server 40, and a control apparatus 20A controlling these packet forwarding nodes 10-1 to 10-3.

FIG. 4 is a block diagram illustrating a detailed configuration of the packet forwarding node 10 (hereinafter, the packet forwarding nodes 10-1 to 10-3 are described as “the packet forwarding node 10” when there is no need to particularly distinguish the packet forwarding nodes 10-1 to 10-3 from one another). In FIG. 4, the packet forwarding node 10 includes a communication unit 11, a table management unit 12, a table database (table DB) 13, and a forward processing unit 14.

The communication unit 11 is a means of realizing communication with the control apparatus 20A that sets a processing rule in the packet forwarding node 10. In the present exemplary embodiment, the communication unit 11 uses an OpenFlow protocol in NPL 2 to communicate with the control apparatus 20A. However, the communication protocol used between the communication unit 11 and the control apparatus 20A is not limited to the OpenFlow protocol.

The table management unit 12 is a means of managing tables stored in the table database (table DB) 13. In the present exemplary embodiment, the table management unit 12 serves as the above processing rule management unit. More specifically, the table management unit 12 registers a processing rule specified by the control apparatus 20A in the table DB 13. In addition, when notified by the forward processing unit 14 of reception of a new packet, the table management unit 12 requests the control apparatus 20A to set a processing rule. The table management unit 12 refers to an expiration condition and statistical information (counters) in a processing rule stored in each table, and if the statistical value indicated in the statistical information (counters) exceeds a threshold set in the expiration condition in the processing rule, the table management unit 12 deletes or invalidates the processing rule. Alternatively, if the statistical value matches the expiration condition, the table management unit 12 may rewrite the packet process defined in the processing rule corresponding to the expiration condition to a packet discarding process. Further alternatively, if the statistical value matches the expiration condition, the table management unit 12 may execute traffic shaping on the packet process defined in the processing rule corresponding to the expiration condition. For example, the traffic shaping signifies control of the transfer rate of a packet flow corresponding to the processing rule in which the statistical value exceeds the threshold. For example, the control of the transfer rate signifies a process of delaying the packet flow or a process of controlling the transfer rate to remain below a predetermined value. However, the control of the transfer rate is not limited to such process of delaying the packet flow or controlling the transfer rate to remain below a predetermined value.

The table database (table DB) 13 is configured by a database capable of storing at least one table to which the forward processing unit 14 refers when processing an incoming packet.

The forward processing unit 14 includes: a table search unit 141 searching the table stored in the table DB 13 for a processing rule having a match field matching an incoming packet; and an action execution unit 142 executing a packet process in accordance with the processing contents indicated in the instruction field of the processing rule found by the table search unit 141. If the forward processing unit 14 does not find a processing rule having a match field matching the incoming packet, the forward processing unit 14 notifies the table management unit 12 of that effect. In addition, depending on the packet process, the forward processing unit 14 updates the statistical information (counters) registered in the table DB. The forward processing unit 14 may obtain a statistical value based on the statistical information (counters) corresponding to a plurality of processing rules. For example, the forward processing unit 14 may add the statistical information corresponding to a plurality of processing rules and calculate a statistical value, and the table management unit 12 may compare this statistical value with the expiration condition of each of the processing rules and determine whether each processing rule is valid. In addition, for example, among the processing rules stored in the table DB, the forward processing unit 14 may calculate a statistical value based on the statistical information corresponding to a processing rule corresponding to a predetermined condition. For example, the forward processing unit 14 may calculate a statistical value based on the statistical information corresponding to a processing rule for processing packets inputted through a predetermined port or to a processing rule for outputting packets to a predetermined port. Namely, in the present exemplary embodiment, the forward processing unit 14 serves as the above packet processing unit and statistical value measurement unit.

FIG. 5 illustrates a table that is set in the table DB 13 of the packet forwarding node 10-1. In FIG. 5, processing rules for realizing communication between the communication terminal 30 and the server 40 in FIG. 3 are set. For example, the IP addresses of the communication terminal 30 and the server 40 are set as the source and destination IP addresses, respectively, in header fields of a packet transmitted from the communication terminal 30 to the server 40. Thus, if the packet forwarding node 10-1 receives a packet addressed to the server 40 from the communication terminal 30, the table search unit 141 of the packet forwarding node 10-1 searches the table in FIG. 5 for the second top processing rule as a processing rule matching the incoming packet. Next, the action execution unit 142 of the packet forwarding node 10-1 forwards the incoming packet through a port connected to the packet forwarding node 10-2, in accordance with the content indicated in the instruction filed. If a processing rule corresponding to the incoming packet does not exist, the packet forwarding node 10-1 requests the control apparatus 20A to set a processing rule.

Similarly, for example, the IP addresses of the server 40 and the communication terminal 30 are set as the source and destination IP addresses, respectively, in header fields of a packet addressed to the communication terminal 30 from the server 40. Thus, if the packet forwarding node 10-1 receives a packet addressed to the communication terminal 30 from the server 40, the table search unit 141 of the packet forwarding node 10-1 searches the table in FIG. 5 for the top processing rule as a processing rule matching the incoming packet. Next, the action execution unit 142 of the packet forwarding node 10-1 forwards the incoming packet through a port connected to the communication terminal 30, in accordance with the content indicated in the instruction filed. If a processing rule corresponding to the incoming packet does not exist, the packet forwarding node 10-1 requests the control apparatus 20A to set a processing rule.

In FIG. 5, values (thresholds), that is, 100 M bytes and 10 M bytes, are set as the expiration conditions of the processing rules. In this case, if the statistical information (counters) in the top processing rule in FIG. 5 exceeds 100 M bytes, the table management unit 12 deletes this processing rule. The statistical information in the processing rule is updated based on the packet process executed by the processing rule.

In addition, if the statistical information (counters) in the second top processing rule in FIG. 5 exceeds 10 M bytes, the table management unit 12 deletes this processing rule. The statistical information in the processing rule is updated based on the packet process executed by the processing rule.

The table management unit 12 may obtain a statistical value based on the statistical information in the top and second top processing rules in the table illustrated in FIG. 5 and compare the statistical value with the expiration conditions of the processing rules. The statistical value can be obtained by adding the statistical information in the processing rules, for example. For example, if the obtained statistical value is 10 M bytes, the statistical value matches the expiration condition in the second top processing rule in the table illustrated in FIG. 5. In this case, the second top processing rule in the table is deleted.

In FIG. 5, byte is specified as the unit of the statistical value used as the threshold for deleting the processing rule. However, the number of packets may be used alternatively. In the statistical information (counters), if another unit such as bit is used to manage the statistical information, the another unit such as bit may be used.

Similarly, the processing rules as described above are set in the packet forwarding nodes 10-2 and 10-3.

The above packet forwarding node 10 can be realized by adding the above function of deleting a processing rule based on the statistical value to the OpenFlow switch in NPL 2.

FIG. 6 is a block diagram illustrating a configuration example of the control apparatus 20A. In FIG. 6, the control apparatus 20A includes an expiration condition management unit 21, a communication terminal location management unit 22, a topology management unit 23, a path and action calculation unit 24, a packet forwarding node management unit 25, a processing rule database (processing rule DB) 26, a processing rule management unit 27, a control message processing unit 28, and a node communication unit 29 communicating with the packet forwarding node 10.

For example, the expiration condition management unit 21 manages the expiration condition including a statistical value upper limit (threshold), per processing rule or combination of a source and a destination, each of which is managed by a MAC address. If the expiration condition is managed per combination of a source and a destination, one of the source and the destination may be set as a wildcard, that is, as indefinite. Other than the above statistical value, a timeout value of an arbitrary type may be set as the expiration condition. For example, a timeout value (a hard timeout value, an idle timeout value) may be set other than the statistical value. In this way, even when the statistical value does not exceed a predetermined threshold, the processing rule can be deleted after a certain period of time elapses.

The communication terminal location management unit 22 manages information for determining the locations of the communication terminals connected to the communication system. For example, the location of a communication terminal can be managed by information for identifying the packet forwarding node 10 to which the communication terminal is connected and information about the port.

The topology management unit 23 establishes network topology information, based on a connection relationship among the packet forwarding nodes 10 collected via the node communication unit 29. If the topology information changes, the topology management unit 23 may notify the path and action calculation unit 24 of the change of the topology information and cause the path and action calculation unit 24 to reset an existing processing rule, for example.

The control message processing unit 28 analyzes a control message transmitted from the packet forwarding node 10 and transmits information about the control message to relevant processing means in the control apparatus 20A.

The path and action calculation unit 24 serves as a means of calculating a packet forwarding path based on the communication terminal location information managed by the communication terminal location management unit 22 and the topology information managed by the topology management unit 23. In addition, the path and action calculation unit 24 serves as a means of determining processing contents (actions) executed by the packet forwarding nodes 10, by referring to capability information about the packet forwarding nodes managed by the packet forwarding node management unit 25. In addition, the path and action calculation unit 24 serves as a means of referring to the expiration condition in each processing rule managed by the expiration condition management unit 21 and determining a value set in the expiration condition field in each processing rule.

The packet forwarding node management unit 25 manages capabilities of each of the managed packet forwarding nodes 10-1 to 10-3 (for example, the number of ports, the types of the ports, the types of the supported actions, etc.).

The processing rule management unit 27 manages the processing rules set in the packet forwarding node 10. More specifically, the processing rule management unit 27 stores results calculated by the path and action calculation unit 24 in the processing rule DB 26 as a processing rule. In addition, when a processing rule set in the packet forwarding node 10 is changed and when the processing rule management unit 27 receives a notification of deletion of the processing rule from the packet forwarding node 10, the processing rule management unit 27 updates the content of the processing rule DB 26.

For example, the control apparatus 20A as described above can be realized by adding the expiration condition management unit 21 to the OpenFlow controller unit in NPL 2 and causing the path and action calculation unit 24 to generate a processing rule having an expiration condition.

The units (processing means) of the packet forwarding node 10 and the control apparatus 20A illustrated in FIGS. 4 and 6 can be realized by using a computer program that causes a computer constituting the units to use hardware of the computer and to execute the above processes.

Next, an operation example of the present exemplary embodiment will be described with reference to the drawings. However, FIG. 7 will be used for illustrative purposes only. The operation of the present disclosure is not limited to the sequence in FIG. 7. FIG. 7 is a sequence diagram illustrating an operation of the communication system according to the first exemplary embodiment. The following description will be made assuming that no processing rule for realizing communication between the communication terminal 30 and the server 40 is set in the packet forwarding nodes 10-1 to 10-3 in an initial state.

In FIG. 7, first, the communication terminal 30 transmits a user packet addressed to the server 40 (S001 in FIG. 7). Next, the packet forwarding node 10-1 receives the user packet and searches the table therein for a processing rule having a match field matching the incoming packet. However, since such processing rule is not found, the packet forwarding node 10-1 transmits the incoming packet and a request to request the control apparatus 20A to set a processing rule (S002; Packet-In in FIG. 7).

After receiving the request to set a processing rule, the control apparatus 20A causes the path and action calculation unit 24 to create processing rules (in both directions) having the expiration conditions as illustrated in FIG. 5 and sets the processing rules in each packet forwarding node 10 (S003; FlowMod in FIG. 7). In addition, the control apparatus 20A returns the packet supplied in 5002 to the packet forwarding node 10-1 and instructs the packet forwarding node 10-1 to forward the packet to the packet forwarding node 10-2 (S004; Packet-Out in FIG. 7).

After the packet forwarding node 10-1 forwards the packet to the packet forwarding node 10-2 in accordance with the instruction, the packet forwarding nodes 10-2 and 10-3 forward the packet to the server 40 in accordance with the processing rules set respectively (S005 in FIG. 7).

Next, the packet forwarding nodes 10-1 to 10-3 forward user packets between the communication terminal 30 and the server 40, in accordance with the processing rules set respectively (S006 and S007 in FIG. 7).

Next, when a statistical value indicated in the statistical information (counters) in a processing rule for processing a packet addressed to the communication terminal 30 from the server 40 exceeds a threshold set in the expiration condition in the processing rule, the packet forwarding nodes 10-1 to 10-3 delete the processing rule (the top processing rule in FIG. 5).

The packet forwarding nodes 10-1 to 10-3 notify the control apparatus 20A of deletion of the respective processing rules (S008; FlowRemoved in FIG. 7). The control apparatus 20A updates the processing rule DB 26, based on the notification.

Next, when the communication terminal 30 transmits a packet addressed to the server 40 (S009 in FIG. 7), if the statistical value indicated in the statistical information (counters) in the processing rule for processing the packet exceeds the threshold set in the expiration condition in the processing rule, the packet forwarding nodes 10-1 to 10-3 delete the respective processing rules (the second top processing rule in FIG. 5).

The packet forwarding nodes 10-1 to 10-3 notify the control apparatus 20A of deletion of the respective processing rules (S010; FlowRemoved in FIG. 7). The control apparatus 20A updates the processing rule DB 26, based on the notification.

After deletion of the processing rules, the control apparatus 20A may set a new processing rule for discarding subsequent packets corresponding to the deleted processing rule in the packet forwarding nodes 10-1 to 10-3. In this way, it is possible to limit the traffic of packets having a statistical value exceeding a predetermined threshold.

Alternatively, after deletion of the processing rules, the control apparatus 20A may set a new processing rule that defines a method for forwarding subsequent packets corresponding to the deleted processing rule in the packet forwarding nodes 10-1 to 10-3 and instruct a predetermined node of the packet forwarding nodes 10-1 to 10-3 to execute traffic shaping. For example, the traffic shaping signifies control of the transfer rate of a packet flow corresponding to a processing rule in which the statistical value exceeds a threshold. The control of transfer rate signifies a process of delaying the packet flow or a process of controlling the transfer rate to remain below a predetermined value, for example. However, the control of the transfer rate is not limited to such process of delaying the packet flow or controlling the transfer rate to remain below a predetermined value.

The control apparatus 20A may instruct a predetermined node to control not only the transfer rate of a packet flow corresponding to a processing rule in which the statistical value exceeds a threshold but also the transfer rate of another packet flow corresponding to the packet flow. For example, the packet flow corresponding to a processing rule in which the statistical value exceeds a threshold is a flow transmitted from the communication terminal 30 to the server 40, and the another packet flow corresponding to the packet flow is a flow transmitted from the server 40 to the communication terminal 30.

Thus, according to the present exemplary embodiment, flexible flow control based on a communication amount can be executed.

Second Exemplary Embodiment

A second exemplary embodiment will be described with reference to the drawings. In the second exemplary embodiment, functions of a packet forwarding node are added to the communication terminal 30. The communication terminal 30 also corresponds to the above communication apparatus. For example, the communication terminal is a device having a communication function, such as a mobile phone, a personal computer, or a mobile router. FIG. 8 illustrates a configuration example of a communication system according to the second exemplary embodiment. The second exemplary embodiment is different from the first exemplary embodiment illustrated in FIG. 3 only in a communication terminal 30A. Since the second exemplary embodiment is the same as the first exemplary embodiment in the other aspects, the following description will be made with a focus on the difference.

FIG. 9 is a block diagram illustrating a configuration example of the communication terminal 30A. In FIG. 9, the communication terminal 30A includes a plurality of application units 311 to 31 n, a protocol stack unit 32 providing these application units 311 to 31 n with an arbitrary protocol communication function, and a packet forwarding function unit 33 connected to the protocol stack unit 32 and executing packet processing equivalent to that of the packet forwarding node 10 in the above first exemplary embodiment.

As in the packet forwarding node 10 according to the first exemplary embodiment, the packet forwarding function unit 33 processes a packet based on a processing rule having an expiration condition set by the control apparatus 20A. More specifically, as in the packet forwarding node 10 according to the first exemplary embodiment, the packet forwarding function unit 33 includes the communication unit 11, the table management unit 12, the table DB 13, and the forward processing unit 14 and processes a packet outputted from the protocol stack unit 32 and the user traffic forwarded from the packet forwarding node 10-1. This packet forwarding function unit 33 can be realized by a computer program that executes the above packet processing, by using hardware (memory, communication means) of a computer constituting the communication terminal 30A. This computer program may be pre-installed in the communication terminal 30A. Alternatively, the computer program may be downloaded from an application server (not illustrated) or the like and the computer program may be installed in the communication terminal 30A. In addition, a threshold set in an expiration condition in each processing rule may be changed depending on the fee paid at the time of the download or a fee included in the fee of the computer program.

FIG. 10 is a specific example of a table that is set in the table DB in the packet forwarding function unit 33. In FIG. 10, processing rules for realizing communication between the protocol stack unit 32 in the communication terminal 30A in FIG. 9 and the server 40 are set. For example, the IP addresses of the communication terminal 30A and the server 40 are set as the source and destination IP addresses in header fields of a packet addressed to the server 40 from the protocol stack unit 32 in the communication terminal 30A. Thus, when the packet forwarding function unit 33 receives a packet addressed to the server 40 from the protocol stack unit 32 in the communication terminal 30A, the table search unit in the packet forwarding function unit 33 searches the table in FIG. 10 for the second top processing rule as a processing rule matching the incoming packet. Next, the action execution unit 142 in the packet forwarding function unit 33 forwards the incoming packet through a port connected to the packet forwarding node 10-1, in accordance with the content indicated in the instruction field. If a processing rule corresponding to the incoming packet does not exist, the communication terminal 30A requests the control apparatus to set a processing rule.

Similarly, for example, the IP addresses of the server 40 and the communication terminal 30A are set as the source and destination IP addresses in header fields of a packet addressed to the communication terminal 30A from the server 40. Thus, if the packet forwarding function unit 33 receives a packet addressed to the communication terminal 30A from the server 40, the table search unit in the packet forwarding function unit 33 searches the table in FIG. 10 for the top processing rule as a processing rule matching the incoming packet. Next, the action execution unit 142 in the packet forwarding function unit 33 forwards the incoming packet through a port connected to the protocol stack unit 32 of the communication terminal 30A in accordance with the content indicated in the instruction field. If a processing rule corresponding to the incoming packet does not exist, the communication terminal 30A requests the control apparatus to set a processing rule.

In FIG. 10, as in the first exemplary embodiment, values (thresholds), that is, 100 M bytes and 10 M bytes, are set as the expiration conditions in the processing rules. In this case, if the statistical information (counters) in the top processing rule in FIG. 10 exceeds 100 M bytes, the table management unit 12 in the packet forwarding function unit 33 deletes this processing rule. If the statistical information (counters) in the second top processing rule in FIG. 10 exceeds 10 M bytes, the table management unit 12 in the packet forwarding function unit 33 deletes the processing rule.

The packet forwarding function unit 33 may obtain a statistical value based on the statistical information (counters) in the top and second top processing rules in the table illustrated in FIG. 10 and compare the statistical value with the expiration conditions of the processing rules. The statistical value can be obtained by adding the statistical information in the processing rules, for example. For example, if the obtained statistical value is 10 M bytes, the statistical value matches the expiration condition in the second top processing rule in the table illustrated in FIG. 10. In this case, the second top processing rule in the table is deleted.

In addition, for example, among the processing rules stored in the table DB, the packet forwarding function unit 33 calculates a statistical value based on the statistical information corresponding to a processing rule corresponding to a predetermined condition. For example, the forward processing unit 14 calculates a statistical value based on a processing rule for processing packets inputted through a predetermined port or based on the statistical information (counters) corresponding to a processing rule for outputting packets to a predetermined port. If the communication terminal 30 includes a plurality of communication ports (for example, a 3G communication port, a WiFi communication port, a WiMAX communication port, etc.), the forward processing unit 14 calculates a statistical value based on the statistical information (counters) corresponding to a processing rule for receiving and transmitting packets via a predetermined one (for example, the 3G communication port) of the communication ports.

The processing rule as described above can be set similarly in the packet forwarding nodes 10-1 to 10-3.

Next, an operation according to the present exemplary embodiment will be described in detail with reference to the drawings. FIG. 11 is a sequence diagram illustrating an operation of the communication system according to the second exemplary embodiment. The following description will be made assuming that no processing rule for realizing communication between the communication terminal 30A and the server 40 is set in the packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 in an initial state.

In FIG. 11, first, when the packet forwarding function unit 33 of the communication terminal 30A receives a user packet addressed to the server 40 from the protocol stack unit 32, the packet forwarding function unit 33 searches the table therein for a processing rule having a match field matching the incoming packet. However, since such processing rule is not found, the communication terminal 30A transmits the incoming packet and a request to request the control apparatus 20A to set a processing rule (S101; Packet-In in FIG. 11).

After receiving the request to set a processing rule, the control apparatus 20A causes the path and action calculation unit 24 to create processing rules (in both directions) having the expiration conditions as illustrated in FIG. 10 and sets the processing rules in the packet forwarding function unit 33 of the communication terminal 30A and each packet forwarding node 10 (S102; FlowMod in FIG. 11). In addition, the control apparatus 20A returns the packet supplied in S002 to the packet forwarding function unit 33 of the communication terminal 30A and instructs the communication terminal 30A to forward the packet to the packet forwarding node 10-1 (S103; Packet-Out in FIG. 11).

After the packet forwarding function unit 33 of the communication terminal 30A forwards the packet to the packet forwarding node 10-1 in accordance with the instruction, the packet forwarding nodes 10-1 and 10-3 forward the packet to the server 40 in accordance with the processing rules set respectively (S104 in FIG. 11).

Next, the packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 forward user packets between the communication terminal 30A and the server 40, in accordance with the processing rules set respectively (S105 and S106 in FIG. 11).

Next, when a statistical value indicated in the statistical information (counters) in a processing rule for processing a packet addressed to the communication terminal 30A from the server 40 exceeds a threshold set in the expiration condition in the processing rule, the packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 delete the respective processing rules (the top processing rule in FIG. 10).

The packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 notify the control apparatus 20A of deletion of the respective processing rules (S107; FlowRemoved in FIG. 11). The control apparatus 20A updates the processing rule DB 26, based on the notification.

Next, when the communication terminal 30 transmits a packet addressed to the server 40 (S108 in FIG. 11), if a statistical value indicated in the statistical information (counters) in a processing rule for processing the packet exceeds a threshold set in the expiration condition in the processing rule, the packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 delete the respective processing rules (the second top processing rule in FIG. 5).

The packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3 notify the control apparatus 20A of deletion of the respective processing rules (S109; FlowRemoved in FIG. 11). The control apparatus 20A updates the processing rule DB 26, based on the notification.

After deletion of the processing rules, the control apparatus 20A may set a new processing rule for discarding subsequent packets corresponding to the deleted processing rule in the packet forwarding function unit 33 of the communication terminal 30A and the packet forwarding nodes 10-1 to 10-3. In this way, the traffic of packets having a statistical value exceeding a predetermined threshold can be limited.

Alternatively, after deletion of the processing rules, the control apparatus 20A may set a new processing rule that defines a method for forwarding subsequent packets corresponding to the deleted processing rule in the packet forwarding function unit 33 and the packet forwarding nodes 10-1 to 10-3 and instruct a predetermined node of the packet forwarding function unit 33 and the packet forwarding nodes 10-1 to 10-3 to execute traffic shaping. For example, the traffic shaping signifies control of the transfer rate of a packet flow corresponding to a processing rule in which the statistical value exceeds a threshold. The control of transfer rate signifies a process of delaying the packet flow or a process of controlling the transfer rate to remain below a predetermined value, for example. However, the control of the transfer rate is not limited to such process of delaying the packet flow or controlling the transfer rate to remain below a predetermined value.

The control apparatus 20A may instruct a predetermined node to control not only the transfer rate of a packet flow corresponding to a processing rule in which the statistical value exceeds a threshold but also the transfer rate of another packet flow corresponding to the packet flow. For example, the packet flow corresponding to a processing rule in which the statistical value exceeds a threshold is a flow transmitted from the communication terminal 30A to the server 40, and the another packet flow corresponding to the packet flow is a flow transmitted from the server 40 to the communication terminal 30A.

As described above, the present disclosure can be realized by including the packet forwarding function unit 33 in the communication terminal. In addition, compared with the above first exemplary embodiment, since the communication terminal according to the present exemplary embodiment can execute flow control such as packet discarding, the traffic flowing through the packet forwarding node 10 can be reduced. Thus, load on the packet forwarding node 10 and the control apparatus 20A can be reduced, counted as a meritorious effect. In addition, while an expiration condition is included in a processing rule in this configuration example, the expiration condition may be set in the communication terminal separately from the processing rule.

Third Exemplary Embodiment

Next, a third exemplary embodiment according to the present invention will be described with reference to the drawings. In the third exemplary embodiment, the configuration of the control apparatus is modified. FIG. 12 illustrates a control apparatus 20B according to the third exemplary embodiment of the present invention. The control apparatus 20B is different from the control apparatus according to the first and second exemplary embodiments in that the expiration condition management unit 21 is replaced by a contract information management unit 21A. Since the third exemplary embodiment is the same as the first and second exemplary embodiments in the other aspects, the following description will be made with a focus on the difference.

The contract information management unit 21A according to the present exemplary embodiment manages user contract information about the communication terminal 30. More specifically, the contract information management unit 21A refers to the contract information in response to a request from the path and action calculation unit 24 and generates an expiration condition. The contract information management unit 21A may supply the contract information to the path and action calculation unit 24, and the path and action calculation unit may use the contract information for path calculation. For example, if the user of the communication terminal 30 has a contract that allows communication with the server 40 up to 10 M bytes, the contract information management unit 21A requests the path and action calculation unit 24 to generate a processing rule in which 10 M bytes are set as an expiration condition. In this case, the contract information management unit 21A may request the path and action calculation unit 24 to generate a plurality of processing rules each including 10 M bytes set as an expiration condition.

If, without deletion of a processing rule due to the expiration condition, communication is terminated by a timeout or a communication termination notification or a log-out operation by the communication terminal 30, the control apparatus 20A may collect the statistical information (counters) in a relevant processing rule and cause the contract information management unit 21A to record a remaining statistical value that allows the user of the communication terminal 30 to execute communication.

Since an operation according to the present exemplary embodiment is the same as that according to the first and second exemplary embodiments, description thereof will be omitted.

As described above, according to the present exemplary embodiment, the expiration condition can be set flexibly based on the contract information.

In addition, as described above, by including the cause (a statistical value exceeding a threshold, a timeout, etc.) of deletion of a processing rule in a processing rule deletion notification transmitted from the packet forwarding node 10, the contract information management unit 21A of the control apparatus 20A can use this information to determine whether to update the contract information, for example.

Fourth Exemplary Embodiment

Next, a fourth exemplary embodiment will be described. According to the fourth exemplary embodiment, if a statistical value exceeds a threshold defined in an expiration condition, the communication terminal 30 can communicate with an accounting server 50 and set a new threshold. For example, after a statistical value set in the original contract is exceeded, the user of the communication terminal 30 renews the contract information by paying an additional fee. By renewing the contract information, a new threshold is set in the expiration condition. By setting a new threshold and resetting the statistical value, the communication terminal 30 can continue data communication.

Since the packet forwarding node 10 and the communication terminal 30 are the same as those according to any one of the first to third exemplary embodiments, detailed description thereof will be omitted. In addition, since the control apparatus has a configuration similar to that of the control apparatus 20B according to the third exemplary embodiment, detailed description thereof will be omitted.

An operation according to the fourth exemplary embodiment will be described with reference to FIGS. 13 and 14. If the packet forwarding function unit 33 of the communication terminal 30 receives a user packet addressed to the server 40 from the protocol stack unit 32, the packet forwarding function unit 33 searches a table therein for a processing rule having a match field matching the incoming packet. However, since such processing rule is not found, the communication terminal 30 transmits the incoming packet and a request to request the control apparatus 20B to set a processing rule (S201; Packet-In in FIG. 13).

After receiving the request for setting a processing rule, the control apparatus 20B causes the path and action calculation unit 24 to generate processing rules (both directions) having the expiration conditions as illustrated in FIG. 10 and set the processing rules in the packet forwarding function unit 33 and each packet forwarding node 10 (S202; FlowMod in FIG. 13). In addition, the control apparatus 20B returns the packet supplied in S201 to the communication terminal 30 and instructs the packet forwarding function unit 33 to forward the packet to the packet forwarding node 10-1 (S203; Packet-Out in FIG. 13).

After the packet forwarding function unit 33 forwards the packet to the packet forwarding node 10-1 in accordance with the instruction, the packet forwarding nodes 10-1 to 10-3 forward the packet to the server 40 in accordance with the processing rules set respectively (S204 in FIG. 13).

Next, the packet forwarding function unit 33 and the packet forwarding nodes 10-1 to 10-3 forward user packets between the communication terminal 30 and the server 40, in accordance with the processing rules set respectively (S205 and S206 in FIG. 13).

Next, when a statistical value indicated in the statistical information (counters) in a processing rule for processing a packet addressed to the communication terminal 30 from the server 40 exceeds a threshold set in the expiration condition in the processing rule, the packet forwarding function unit 33 and the packet forwarding nodes 10-1 to 10-3 delete the respective processing rules (for example, the top processing rule in FIG. 10).

The packet forwarding function unit 33 and the packet forwarding nodes 10-1 to 10-3 notify the control apparatus 20B of deletion of the respective processing rules (S207; FlowRemoved in FIG. 13). The control apparatus 20B updates the processing rule DB 26, based on the notification.

As described in the third exemplary embodiment, the thresholds set in the expiration conditions such as those in FIG. 10 are set based on the contract information regarding the user of the communication terminal 30, for example. Thus, if the amount of communication executed by the communication terminal 30 exceeds a threshold defined in the expiration condition, the control apparatus 20B may notify the accounting server 50 of the communication amount of the communication terminal 30 exceeding the contract communication amount (notification of contract termination in FIG. 13).

An operation subsequent to FIG. 13 will be described with reference to FIG. 14. After a statistical value exceeds a threshold and the processing rules are deleted in S207 in FIG. 13, when the packet forwarding function unit 33 of the communication terminal 30 receives a user packet addressed to the server 40 from the protocol stack unit 32, the packet forwarding function unit 33 searches the table therein for a processing rule having a match field matching the incoming packet. However, since such processing rule has already been deleted, the communication terminal 30 transmits the incoming packet and a request for requesting the control apparatus 20B to set a processing rule (S208; Packet-In in FIG. 14).

Since the communication amount of the communication terminal 30 has exceeded the contract communication amount (check of contract information in FIG. 14), the control apparatus 20B sets a processing rule (a redirect processing rule) defining that a packet addressed to the server 40 from the communication terminal 30 is forwarded to the accounting server 50 in each of the packet forwarding function unit 33 of the communication terminal 30 and the packet forwarding nodes 10-1 to 10-3 (S209 in FIG. 14).

If the accounting server 50 receives a packet forwarded from the communication terminal 30 in accordance with the redirect processing rule, the accounting server 50 transmits a redirect message to the communication terminal 30 (S210 in FIG. 14). After receiving the redirect message, the communication terminal 30 changes the communication session with the server 40 to a communication session with the accounting server 50.

Next, the communication terminal 30 communicates with the accounting server 50 (S213 in FIG. 14) and renews the contract information. In this way, a new threshold is set in the expiration condition. For example, by communicating with the accounting server 50 and executing a process of paying an additional fee, the user of the communication terminal 30 renews the contract information.

After the contract information is renewed, the accounting server 50 notifies the control apparatus 20B of completion of the renewal of the contract information (S214 in FIG. 14). The control apparatus 20B updates the contract information about the communication terminal 30 stored in the contract information management unit 21A and updates the threshold of the expiration condition set in the processing rule.

Based on the above operation, when the data communication amount of the communication terminal 30 exceeds a contract allowable amount, the communication terminal 30 can be requested to pay an additional fee, for example.

Fifth Exemplary Embodiment

Next, a fifth exemplary embodiment will be described with reference to the drawings. The fifth exemplary embodiment is different from the above first to fourth exemplary embodiments in tables. In the fifth exemplary embodiment, a first table storing processing rules for processing packets and a second table managing a predetermined condition for referring to the first table are used. Since the fifth exemplary embodiment is the same as the first to fourth exemplary embodiments in the other aspects, the following description will be made with a focus on the difference.

The packet forwarding function unit 33 of the communication terminal 30A and the forward processing unit 14 of the packet forwarding node 10 determine whether to refer to the first table storing processing rules for processing packets, based on the predetermined condition managed in the second table. For example, the predetermined condition is determined based on a communication amount or time that elapses after a processing rule has been set in the first table. However, the predetermined condition is not limited to the communication amount or the elapsed time.

FIG. 15 illustrates tables set in the packet forwarding function unit 33 included in the communication terminal 30A as illustrated in FIG. 8. The upper table (Table0) in FIG. 15 manages a packet processing amount corresponding to predetermined processing rules stored in the lower table (Table1), as a predetermined condition (for example, as the expiration condition in Table0). In FIG. 15, a processing amount “100 M bytes” is defined as the expiration condition, which is an example of the predetermined condition. For example, the packet forwarding function unit 33 measures the packet processing amounts caused by a processing rule (the first entry in Table1) corresponding to a packet flow transmitted from the server 40 to the communication terminal 30A and by a processing rule (the second entry in Table1) corresponding to a packet flow transmitted from the communication terminal 30A to the server 40, as a statistical value (counters in Table0). The processing rules managed by such statistical value can be selected arbitrarily. Selection of the processing rules is not limited to the above method based on the packet flow source and destination.

In FIG. 15, a processing rule defining a processing content (Goto Table1) is set in a table (Table0), and this processing rule allows the process in the lower table (Table1) in FIG. 15 to be executed until the statistical value exceeds 100 M bytes.

As the predetermined condition, time that has elapsed after a predetermined processing rule is set in the lower table (Table1) may be set as the statistical value in the upper table (Table0) in FIG. 15.

In FIG. 15, only one entry is set in the upper table (Table0). However, a plurality of entries may be set in the upper table (Table0). For example, if the packet forwarding node 10 forwards packets transmitted from and addressed to a plurality of communication terminals 30A, the Table0 of the packet forwarding node 10 may hold a plurality of entries corresponding to the respective communication terminals 30A. In this case, each entry has an expiration condition, and a condition for a corresponding communication terminal 30A is set in each entry. In addition, each entry has a statistical value (counters), and a statistical value for a corresponding communication terminal 30A is stored in each entry. For example, the packet forwarding function unit 33 refers to the source address of a packet flow, determines a communication terminal 30A, and stores a statistical value in a corresponding entry in Table0.

On the other hand, for example, processing rules realizing communication between the protocol stack unit 32 of the communication terminal 30A and the server 40 are set in the lower table (Table1) in FIG. 15. However, no expiration condition is set in the lower table (Table1) in FIG. 15.

If a statistical value satisfies a predetermined condition (for example, a processing amount exceeds a predetermined threshold), the packet forwarding function unit 33 of the communication terminal 30A or the table management unit 12 of the packet forwarding node 10 executes a predetermined process on a processing rule stored in Table1. For example, the packet forwarding function unit 33 or the table management unit 12 deletes a processing rule in Table1 or rewrites a packet processing method defined in a processing rule to packet dropping.

According to the present exemplary embodiment including the above two tables, when an expiration condition is satisfied, it is only necessary to delete a processing rule from the upper flow control table in FIG. 15. Thus, there is no need to update the lower packet processing table in FIG. 15, counted as a meritorious effect. In this way, the communication terminal 30A, the packet forwarding node 10, and the control apparatus 20 can have less load to manage processing rules.

While exemplary embodiments of the present invention have thus been described, the present invention is not limited thereto. Further variations, substitutions, and adjustments are possible within the scope of the basic technical concept of the present invention. For example, the number of each type of the components, such as the packet forwarding nodes, the control apparatus, the communication terminal, and the server 40, illustrated in the above exemplary embodiments and the connection configuration of these components are used to facilitate the description of the present invention. Thus, such numbers or connection configuration can be changed as needed. While each of the exemplary embodiments refers to OpenFlow as a related technique, the present invention does not necessarily use OpenFlow. For example, other than OpenFlow, a communication architecture in which a control apparatus controls packet forwarding paths in a centralized manner is applicable to the present invention.

In addition, in the above exemplary embodiments, after a packet is forwarded by using a processing rule, whether to delete the processing rule is determined by using an expiration condition in the processing rule. However, a table management unit may determine whether to delete the processing rule at predetermined time intervals.

In addition, in the above exemplary embodiments, a processing rule is deleted by using an expiration condition of the processing rule. However, the processing content of the processing rule may be rewritten to packet drop or the like. The entire disclosures of the above PTL and NPLs are incorporated herein by reference thereto. Variations and adjustments of the exemplary embodiments are possible within the scope of the overall disclosure (including the claims) of the present invention and based on the basic technical concept of the present invention. Various combinations and selections of various disclosed elements (elements in each claim, example, drawing, etc.) are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the overall disclosure including the claims and the technical concept. Particularly, any numerical range disclosed herein should be interpreted that any intermediate values or subranges falling within the disclosed range are also concretely disclosed even without specific recital thereof.

REFERENCE SIGNS LIST

-   10, 10-1 to 10-3 packet forwarding node -   11, 204 communication unit -   12 table management unit -   13 table database (table DB) -   14 forward processing unit -   20, 20A, 20B control apparatus -   21 expiration (invalidation) condition management unit -   21A contract information management unit -   22 communication terminal location management unit -   23 topology management unit -   24 path and action calculation unit -   25 packet forwarding node management unit -   26 processing rule database (processing rule DB) -   27 processing rule management unit -   28 control message processing unit -   29 node communication unit -   30, 30A communication terminal -   32 protocol stack unit -   33 packet forwarding function unit -   40 server -   50 accounting server -   100 processing rule -   101 expiration (invalidation) condition -   141 table search unit -   142 action execution unit -   200 packet processing unit -   201 statistical value measurement unit -   202, 203 management unit -   311 to 31 n application unit 

1. A communication apparatus comprising: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.
 2. The communication apparatus according to claim 1, wherein a processing rule set by the control apparatus includes the threshold.
 3. The communication apparatus according to claim 1, wherein the instruction includes information indicating whether or not the instruction is an instruction to update the threshold due to the statistical value exceeding a prescribed threshold.
 4. The communication apparatus according to claim 1, wherein the management unit notifies the control apparatus that the statistical value has exceeded a prescribed threshold, and, based on a response from the control apparatus to the notification, instructs a transmission source of a packet that matches a processing rule, for which the counter exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.
 5. A control apparatus comprising: a management unit that generates a processing rule for a packet; and a communication unit that transmits the generated processing rule to a communication apparatus, wherein the communication apparatus comprises: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.
 6. A communication system comprising: a control apparatus that generates a processing rule for a packet; and a communication apparatus, wherein the communication apparatus comprises: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that instructs a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.
 7. A communication control method comprising: processing, based on a processing rule set by a control apparatus, a packet that matches the processing rule; measuring a statistical value with respect to packet processing executed based on the processing rule; and instructing a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold.
 8. A communication terminal comprising: a packet processing unit that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule; a statistical value measurement unit that measures a statistical value with respect to packet processing executed based on the processing rule; and a management unit that, when detecting that the statistical value exceeds a prescribed threshold, requests a prescribed server that manages the threshold to update the threshold.
 9. A non-transitory computer-readable storage medium storing a program that causes a communication apparatus that processes, based on a processing rule set by a control apparatus, a packet that matches the processing rule to execute: measuring a statistical value with respect to packet processing executed based on the processing rule; and instructing a transmission source of a packet that matches a processing rule, for which the statistical value exceeds a prescribed threshold, to communicate with a prescribed server that manages the threshold and request the server to update the threshold. 